<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script>
        var data = ""
        $.ajax({
            url: "",
            success: function (data) {
                
                $.ajax({
                    url: "",
                    data: {
                        id:data.id
                    }
                })
            }
        })


    </script>
</head>

<body>
    <form action="https://www.baidu.com" method="post">
        <input type="submit" value="发生">
    </form>
</body>

</html>